﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NanTongPost.Model
{
    /// <summary>
    /// API响应封装类
    /// </summary>
    /// <typeparam name="T">返回数据的类型</typeparam>
    public class ApiRespons
    {
        /// <summary>
        /// 应答码。200表示成功，其他数值表示失败
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 应答描述:失败为具体失败信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 返回的数据对象
        /// </summary>
        public string Data { get; set; }
    }
}
